package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Product;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;
import java.util.Map;
import cn.wolfcode.crm.query.EmployeeQueryObject;
import cn.wolfcode.crm.query.ProductQueryObject;
import java.util.Map;

public interface ProductMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Product record);

    Product selectByPrimaryKey(Long id);

    List<Product> selectAll();

    int updateByPrimaryKey(Product record);
    List<Product> query(QueryObject qo);
    Integer count(QueryObject qo);

    Map<String,Object> money();
    Long countId();
}